package com.ruoyi.costQuery.mapper;

import java.util.List;

import com.ruoyi.costQuery.domain.BillVO;
import com.ruoyi.costQuery.domain.HouseCostT;
import com.ruoyi.costQuery.domain.MessageVO;
import com.ruoyi.door.domain.HouseDoorT;

/**
 * 缴费信息Mapper接口
 * 
 * @author lijie
 * @date 2023-04-24
 */
public interface HouseCostQueryTMapper
{
    /**
     * 查询缴费信息
     * 
     * @param costId 缴费信息主键
     * @return 缴费信息
     */
    public HouseCostT selectHouseCostTByCostId(Long costId);
    public HouseCostT selectOrderId(String costId);
    public int insertOrderInfo(HouseCostT houseCostT);
    public MessageVO selectHouseEbillT(MessageVO messageVO);
    public int updateDoorBill(BillVO billVO);
    public BillVO getBillDetailByBillNO(Long costId);

    public int insertBillDetail(MessageVO messageVO);

    /**
     * 查询缴费信息列表
     * 
     * @param houseCostT 缴费信息
     * @return 缴费信息集合
     */
    public List<HouseCostT> selectHouseCostTList(HouseCostT houseCostT);

    public HouseCostT selectHouseCostSum(HouseCostT houseCostT);


    /**
     * 修改缴费信息
     * 
     * @param houseCostT 缴费信息
     * @return 结果
     */
    public int updateHouseCostT(HouseCostT houseCostT);

    /**
     * 删除缴费信息
     * 
     * @param costId 缴费信息主键
     * @return 结果
     */
    public int deleteHouseCostTByCostId(Long costId);

    /**
     * 批量删除缴费信息
     * 
     * @param costIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHouseCostTByCostIds(Long[] costIds);
}
